package jw.hospital.respository;

import jw.hospital.hosp.model.hospital.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRespository extends MongoRepository<Department,String> {
    Department getDepartByHoscodeAndDepcode(String hoscode, String depcode);
}
